﻿using System.Collections.Generic;
using System.Windows.Media;

namespace Blackbird.Dev.Utility
{
    public class FontFamilyList : List<FontFamily>
    {
        public FontFamilyList() :
            base(Fonts.SystemFontFamilies)
        {
        }

        public FontFamily this[string name]
        {
            get { return Find(f => f.Source.ToLower() == name.ToLower()); }
        }
    }
}